package treeprinter.main;

import java.util.List;
import java.util.Vector;

public class TreeInformation {
	private List<Object> printableObjects;
	private Object parent;
	private List<Object> children;
	
	public List<Object> getPrintableObjects() {
		if (this.printableObjects == null)
			setPrintableObjects(new Vector<Object>());
		
		return this.printableObjects;
	}

	private void setPrintableObjects(List<Object> printableObjects) {
		this.printableObjects = printableObjects;
	}

	public Object getParent() {
		return parent;
	}

	public void setParent(Object parent) {
		this.parent = parent;
	}

	public List<Object> getChildren() {
		if (this.children == null)
			this.children = new Vector<Object>();
		
		return children;
	}

	public void setChildren(List<Object> children) {
		this.children = children;
	}
}
